<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>认识一下vm</title>
    <!-- 引入Vue -->
    <script type="text/javascript" src="../../js/vue.js"></script>
  </head>
  <body>
    <!-- 准备好一个容器-->
    <div id="demo">
      <h1>{{school}}坐落于：{{address}}，{{a}}</h1>
      <h1>{{_c}}</h1>
      <h1>{{toString}}</h1>
      <h1>{{$emit}}</h1>
      <h1>{{x}}</h1>
      <h1>{{y}}</h1>
    </div>

    <script type="text/javascript">
      Vue.prototype.x = 600
      Object.prototype.y = 800

      let vm = new Vue({
        el:'#demo',
        data:{
          school:'尚硅谷',
          address:'宏福科技园',
          a:1
        }
      })
      console.log(vm)
    </script>
  </body>
</html>